<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>班级学生信息</title>
    <link rel="stylesheet" href="/styles/student.css">
</head>
<body>
    <header>
        <div>
            <div>
                <i>👥</i>
                <h1>教育查询系统 - 班级 {{.ClassID}} 学生信息</h1>
            </div>
        </div>
    </header>
    <table>
        <tr>
            <th>学号</th>
            <th>姓名</th>
        </tr>
        {{range .Students}}
        <tr>
            <td>{{.StudentID}}</td>
            <td>{{.Name}}</td>
        </tr>
        {{end}}
    </table>
    <form action="/class" method="GET">
        <button type="submit" class="add-button">返回班级列表</button>
    </form>
</body>
</html>